package com.gyx.lottery.service;

import com.gyx.lottery.controller.param.UserLoginParam;
import com.gyx.lottery.controller.param.UserPasswordLoginParam;
import com.gyx.lottery.controller.param.UserRegisterParam;
import com.gyx.lottery.service.dto.UserDTO;
import com.gyx.lottery.service.dto.UserLoginDTO;
import com.gyx.lottery.service.dto.UserRegisterDTO;
import com.gyx.lottery.service.enums.UserIdentifyEnum;

import java.util.List;

public interface UserService {
    /**
     * 用户注册
     */
    UserRegisterDTO register(UserRegisterParam param);

    UserLoginDTO login(UserLoginParam param);

    List<UserDTO> findUserList(UserIdentifyEnum identity);
}
